package com.qf.cx.simplenms.subscriber.type;

import com.google.gson.Gson;
import com.qf.cx.simplenms.report.model.Report;

/**
 * This abstract class allows to implement different notification channels for
 * the ALE (like File/Socket/Raw-TCP).
 * 
 * @author swieland
 */
public abstract class AbstractSubscriberOutputChannel implements SubscriberOutputChannel {

	protected String getJson(Report report) {
		Gson gson = new Gson();
		String json = gson.toJson(report);
		return json;
	}

	@Override
	public void close() {
	}

}
